package com.sky.dto;

import com.sky.entity.SetmealDish;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 套餐数据传输对象
 */
@ApiModel("套餐数据传输对象")
@Data
public class SetmealDTO implements Serializable {

    @ApiModelProperty("套餐ID")
    private Long id;

    @ApiModelProperty("分类ID")
    private Long categoryId;

    @ApiModelProperty("套餐名称")
    private String name;

    @ApiModelProperty("套餐价格")
    private BigDecimal price;

    @ApiModelProperty("状态(0:停用 1:启用)")
    private Integer status;

    @ApiModelProperty("描述信息")
    private String description;

    @ApiModelProperty("套餐图片")
    private String image;

    @ApiModelProperty("套餐菜品列表")
    private List<SetmealDish> setmealDishes = new ArrayList<>();
}
